<?php

/**
 * Created by PhpStorm.
 * User: dumbledore
 * Date: 2018/3/26
 * Time: 上午10:46
 */
class Error extends CI_Controller
{

    public function __construct(){
        parent::__construct();
        $this->load->database();
        $this->load->helper('json');
        $this->load->helper('common');
        $this->load->helper('url');
        $this->load->library('session');
        $this->output->set_content_type('charset=utf-8');
    }


    public function show_404()
    {
        $data['error_msg'] = '找不到该页面啊';
        $this->load->view('error',$data);
    }
}